package com.turbo.cloud.ums.constants;

import com.turbo.cloud.core.exception.enums.BaseErrorEnum;

public enum BusinessEnum implements BaseErrorEnum {
    系统异常("500", "系统异常", "https://500.html");

    String message;
    String code;
    String url;

    BusinessEnum(String code, String message, String uri) {
        this.message = message;
        this.code = code;
        this.url = uri;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    @Override
    public String getUrl() {
        return this.url;
    }


}
